package com.duzq.entity;

import com.duzq.common.annotation.EnumValue;
import com.duzq.common.entity.BaseEntity;
import com.duzq.enums.UserEnums;

/**
 * 订单
 * @author duzq
 * @date 2021-03-25 10:06:16
 */
public class Order implements BaseEntity {
    /**
     * 订单编码
     */
    private String orderCode;
    /**
     * 状态
     */
    @EnumValue(enumType = UserEnums.UserStatus.ENUM_TYPE)
    private Integer status;
    /**
     * 状态名称
     */
    private String statusName;

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    /**
     * 订单拓展类
     */
    private OrderExt orderExt;

    public OrderExt getOrderExt() {
        return orderExt;
    }

    public void setOrderExt(OrderExt orderExt) {
        this.orderExt = orderExt;
    }
}
